const Router = require('koa-router');
const controller = require('../controllers/warmingController');

const router = new Router({
  prefix: '/api/warming',
});

router.get('/list', controller.getList);
router.post('/add', controller.addItem);
router.put('/update/:id', controller.updateItem);
router.delete('/delete/:id', controller.deleteItem);

module.exports = router;
